
package com.jimo.qrcode.dto;

/**
 * Title: QRCodeLogoDto
 * Description: 
 * @author JIMO
 * @date 2019年6月4日
 */
public class QRCodeLogoDto {
	
	/** logo存放的地址 */
	private String path;
	/** LOGO宽度 默认80*/
    private Integer width = 80;
    /** LOGO高度 默认80*/
    private Integer height = 80;
    /** 是否压缩图片，默认为true */
	private boolean needCompress = true;
	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}
	/**
	 * @param path the path to set
	 * @return this;
	 */
	public QRCodeLogoDto setPath(String path) {
		this.path = path;
		return this;
	}
	/**
	 * @return the width
	 */
	public Integer getWidth() {
		return width;
	}
	/**
	 * @param width the width to set
	 * @return this;
	 */
	public QRCodeLogoDto setWidth(Integer width) {
		this.width = width;
		return this;
	}
	/**
	 * @return the height
	 */
	public Integer getHeight() {
		return height;
	}
	/**
	 * @param height the height to set
	 * @return this;
	 */
	public QRCodeLogoDto setHeight(Integer height) {
		this.height = height;
		return this;
	}
    
	/**
	 * @return the needCompress
	 */
	public boolean isNeedCompress() {
		return needCompress;
	}
	/**
	 * @param needCompress the needCompress to set
	 * @return this;
	 */
	public QRCodeLogoDto setNeedCompress(boolean needCompress) {
		this.needCompress = needCompress;
		return this;
	}

}
